package cn.ztydata.teachingsystem.heaven.entity;

import java.sql.Timestamp;

/**
 * 发言实体类
 *
 * @author lyj
 * @since 2015-3-19
 */
public class Speak {
    private Long id; //ID
    private String content; //发言内容
    private Long creatorId; //创建人ID
    private Integer role; //创建人角色（0老师  1学生）

    private String creatorName; //创建人姓名
    private String creatorPhoto; //创建人头像

    private Timestamp create; //创建时间
    private Long groupId; //群组编号
    private Integer groupType; //群组类型
    private Long commentCount; //回复数

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }

    public String getCreatorPhoto() {
        return creatorPhoto;
    }

    public void setCreatorPhoto(String creatorPhoto) {
        this.creatorPhoto = creatorPhoto;
    }

    public Timestamp getCreate() {
        return create;
    }

    public void setCreate(Timestamp create) {
        this.create = create;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public Integer getGroupType() {
        return groupType;
    }

    public void setGroupType(Integer groupType) {
        this.groupType = groupType;
    }

    public Long getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Long commentCount) {
        this.commentCount = commentCount;
    }
}
